package com.example.springaopdemo.demos.web.proxy;

/**
 * @author Q
 * @create 2025-06-17-9:04
 */

/**
 * 静态代理类
 */
public class StaticMain {
    public static void main(String[] args) {
        HouseProxy houseProxy = new HouseProxy(new RealHouseSubject());
        houseProxy.rent();
        houseProxy.sale();
    }
}
